#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main()
{
	int i,j,k;
	for (i = 1; i <= 4; i++)
	{
		for (j = 5 - i; j >= 1; j--)
		{
			printf(" ");
		}
		for (k = 1; k <= 2 * i - 1; k++)
		{
			printf("*");
		}
		printf("\n");
	}
	for (i = 3; i >= 1; i--)
	{
		for (j = 5-i; j >= 1; j--)
		{
			printf(" ");
		}
		for (k =1 ;k <=2*i-1; k++)
		{
			printf("*");
		}
		printf("\n");
	}
}